package study.web.service.jaxws.pojo;

import java.util.Date;

/**  
* @Name: Weather
* @Description: 存放天气信息pojo类，自定义复杂类型
* @Author: 李超
* @Create Date: 2017-01-07
*/
public class WeatherModel {
	
	private String detail ; //天气详细信息
	private Date date ; //日期
	private int temperature_max ; //最高温度
	private int temperature_min ; //最低温度
	
	public WeatherModel() {
	}
	public WeatherModel(String detail, Date date, int temperature_max,
			int temperature_min) {
		this.detail = detail;
		this.date = date;
		this.temperature_max = temperature_max;
		this.temperature_min = temperature_min;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public int getTemperature_max() {
		return temperature_max;
	}
	public void setTemperature_max(int temperature_max) {
		this.temperature_max = temperature_max;
	}
	public int getTemperature_min() {
		return temperature_min;
	}
	public void setTemperature_min(int temperature_min) {
		this.temperature_min = temperature_min;
	}
	@Override
	public String toString() {
		return "Weather [detail=" + detail + ", date=" + date
				+ ", temperature_max=" + temperature_max + ", temperature_min="
				+ temperature_min + "]";
	}
}
